<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<tpl> $NCharset </tpl>" />
<script type="text/javascript" src="<tpl> $site_url </tpl>/js/jquery/jquery.js"></script>
<link href="<tpl> $site_url </tpl><tpl> $templates_subpath </tpl>/css/header.css" rel="stylesheet" type="text/css" />
<link href="<tpl> $site_url </tpl><tpl> $templates_subpath </tpl>/css/default.css" rel="stylesheet" type="text/css" />
<script language="javascript">
function openwindow(type){
	$('#navmenu li').each(function(){
		$(this).removeClass();
	})
	$('#navmenu_li_'+type).addClass('current');
	window.open("<tpl> $site_url </tpl>/system/index.php?action=entrance&type="+type,"leftFrame");
}
function admin_password_set(){
	window.open("<tpl> $site_url </tpl>/system/index.php?action=admin_password","mainFrame");
}
</script>
</head>
<body>
<div id="header">
  <div id="logo">LuckyTao Multishop Administrator's Control Panel</div>
  <div id="topbar">
	<ul>
		<li><a href="#"><span><tpl> $smarty.session.s_admin.name </tpl></span></a></li>
		<li><a href="<tpl> $site_url </tpl>/home/index.php" target="_blank"><span><tpl> $langCShopIndex </tpl></span></a></li>
		<li><a href="http://www.luckytao.com/company/contact.php" target="_blank"><span><tpl> $langCFooterContact </tpl></span></a></li>
		<li><a href="javascript:;" onclick="admin_password_set();"><span><tpl> $langCModiPass </tpl></span></a></li>
		<li><a href="index.php?action=out" target="_parent"><span><tpl> $langCOutSys </tpl></span></a></li>
	</ul>
  </div>
  <div id="navmenu">
    <ul>
      <li class="current" id="navmenu_li_index"><span class="icon home"></span>
        <h3><a href="javascript:;" onclick="openwindow('index');"><tpl> $langSysCIndex </tpl></a></h3>
      </li>
      <li id="navmenu_li_system"><span class="icon system"></span>
        <h3><a href="javascript:;" onclick="openwindow('system');"><tpl> $langSysCSystemSet </tpl></a></h3>
      </li>
      <li id="navmenu_li_product"><span class="icon product"></span>
        <h3><a href="javascript:;" onclick="openwindow('product');"><tpl> $langSysCProductManage </tpl></a></h3>
      </li>
      <li id="navmenu_li_transaction"><span class="icon business"></span>
        <h3><a href="javascript:;" onclick="openwindow('transaction');"><tpl> $langSysCDealManage </tpl></a></h3>
      </li>
      <li id="navmenu_li_member"><span class="icon member" ></span>
        <h3><a href="javascript:;" onclick="openwindow('member');"><tpl> $langSysCMemberManage </tpl></a></h3>
      </li>
      <li id="navmenu_li_store"><span class="icon shop" ></span>
        <h3><a href="javascript:;" onclick="openwindow('store');"><tpl> $langSysCShopManage </tpl></a></h3>
      </li>
      <li id="navmenu_li_tools"><span class="icon tool" ></span>
        <h3><a href="javascript:;" onclick="openwindow('tools');"><tpl> $langSysCSystemTool </tpl></a></h3>
      </li>
      <li id="navmenu_li_finance"><span class="icon finance" ></span>
        <h3><a href="javascript:;" onclick="openwindow('finance');"><tpl> $langSysCFinanceManage </tpl></a></h3>
      </li>
	  <li id="navmenu_li_app"><span class="icon stat" ></span>
        <h3><a href="javascript:;" onclick="openwindow('app');"><tpl> $langSysApp </tpl></a></h3>
      </li>
    </ul>
  </div>
</div>
<script> openwindow('index'); </script>
</body>
</html>
